import java.util.Scanner;
public class TestDemo2 {
    public static void main(String[] args) {
        int a = 10;
        int b = 20;
        double c = 30.3;
        double d = 3.14;
        double e = 50.0;
        System.out.println("两个整数之和：" + a + b);
        System.out.println("三个小数之和:"+c + d + e);
    }
    public int sum(int a, int b){
        return a+b;
    }
    public double sum(double a, double b, double c){
        return a+b+c;
    }
}
